package org.example.myleet.p503;

import org.example.myleet.Utils.Assert;

public class Main {
    public static void main(String[] args) {
        Solution solution = new Solution();
        Assert.isTrue(Assert.isPass(new int[]{}, solution.nextGreaterElements(new int[]{})));
        Assert.isTrue(Assert.isPass(new int[]{-1}, solution.nextGreaterElements(new int[]{1})));
        Assert.isTrue(Assert.isPass(new int[]{2,-1,2}, solution.nextGreaterElements(new int[]{1,2,1})));
        Assert.isTrue(Assert.isPass(new int[]{-1,-1,-1,-1,-1}, solution.nextGreaterElements(new int[]{1,1,1,1,1})));
        Assert.isTrue(Assert.isPass(new int[]{2,3,4,5,6,-1,2}, solution.nextGreaterElements(new int[]{1,2,3,4,5,6,1})));
        Assert.isTrue(Assert.isPass(new int[]{-1,6,6,6,6,6,6}, solution.nextGreaterElements(new int[]{6,5,4,3,2,1,1})));
        Assert.isTrue(Assert.isPass(new int[]{-1,1,2,2}, solution.nextGreaterElements(new int[]{2,-1,1,1})));
    }
}
